package com.example.springbootredis.repository;

import org.springframework.data.jpa.repository.JpaRepository;

import java.lang.reflect.Member;
import java.util.Optional;

public interface MemberRepository extends JpaRepository<Member, Long> {
    Optional<Member> findNyUsername(String username);
    boolean existsByUsername(String username);

}
